package com.wang.dao;

import com.wang.pojo.Teacher;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface TeacherMapper {
    List<Teacher> getTeachers();
//    查询某一个老师的信息
    Teacher getTeachersAndStudent(@Param("tid") int id);
//    查询全部老师信息
    List<Teacher> getAllTeachersAndStudent();
}
